Skip to content

Conversation

ognevny
Copy link
Contributor

@ognevny ognevny commented Jul 21, 2025

suggested in #143898 (comment). see #143898 (comment) as the reason for such test

r? @ghost

cc @Kobzol for a try-job

try-job: dist-x86_64-msvc

@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jul 21, 2025
@ognevny ognevny marked this pull request as ready for review July 21, 2025 13:25
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 21, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jul 21, 2025

Some changes occurred in src/tools/opt-dist

cc @Kobzol

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jul 21, 2025
@ognevny ognevny changed the title opt-dist: set build_llvm to false for WindowsCi [DONT MERGE] opt-dist: set build_llvm to false for WindowsCi Jul 21, 2025
@Kobzol
Copy link
Member

Kobzol commented Jul 21, 2025

@bors2 try

@rust-bors
Copy link

rust-bors bot commented Jul 21, 2025

⌛ Trying commit a141f71 with merge 978fa84

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jul 21, 2025
[DONT MERGE] opt-dist: set `build_llvm` to false for WindowsCi

suggested in #143898 (comment). see #143898 (comment) as the reason for such test

<!-- homu-ignore:start -->
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r? <reviewer name>
-->
<!-- homu-ignore:end -->
r? `@ghost`

cc `@Kobzol` for a try-job

try-job: dist-x86_64-msvc
@rust-bors
Copy link

rust-bors bot commented Jul 21, 2025

☀️ Try build successful (CI)
Build commit: 978fa84 (978fa844ca3da87b313190c4b047f53a3cdb652f, parent: 67819923ac8ea353aaa775303f4c3aacbf41d010)

@Kobzol
Copy link
Member

Kobzol commented Jul 21, 2025

Can you try Windows perf. on the above artifact please?

@ognevny
Copy link
Contributor Author

ognevny commented Jul 21, 2025

Can you try Windows perf. on the above artifact please?

yes, but I need some time to get my laptop online... I'm far away from it

@ognevny
Copy link
Contributor Author

ognevny commented Jul 21, 2025

$ hyperfine "cargo +67819923ac8ea353aaa775303f4c3aacbf41d010 build --release" "cargo +978fa844ca3da87b313190c4b047
f53a3cdb652f build --release" --prepare "cargo clean" --runs 5
Benchmark 1: cargo +67819923ac8ea353aaa775303f4c3aacbf41d010 build --release
  Time (mean ± σ):     10.828 s ±  0.076 s    [User: 77.439 s, System: 5.578 s]
  Range (min … max):   10.759 s … 10.912 s    5 runs

Benchmark 2: cargo +978fa844ca3da87b313190c4b047f53a3cdb652f build --release
  Time (mean ± σ):     10.769 s ±  0.066 s    [User: 77.136 s, System: 5.519 s]
  Range (min … max):   10.695 s … 10.853 s    5 runs

Summary
  cargo +978fa844ca3da87b313190c4b047f53a3cdb652f build --release ran
    1.01 ± 0.01 times faster than cargo +67819923ac8ea353aaa775303f4c3aacbf41d010 build --release

@Kobzol
Copy link
Member

Kobzol commented Jul 22, 2025

Damn. I wonder if it makes sense to do PGO for Windows in this case.. I'll discuss on Zulip.

@ognevny
Copy link
Contributor Author

ognevny commented Jul 22, 2025

should I remove [DONT MERGE] from the title and assign you for the PR?

@Kobzol
Copy link
Member

Kobzol commented Jul 22, 2025

Let's wait a bit if someone comes with any ideas on Zulip, otherwise we can probably just disable it, yeah.

@ognevny ognevny changed the title [DONT MERGE] opt-dist: set build_llvm to false for WindowsCi opt-dist: set build_llvm to false for WindowsCi Jul 22, 2025
@Kobzol
Copy link
Member

Kobzol commented Aug 7, 2025

@bors try

@rust-bors
Copy link

rust-bors bot commented Aug 7, 2025

⌛ Trying commit a141f71 with merge daed8a9

To cancel the try build, run the command @bors try cancel.

rust-bors bot added a commit that referenced this pull request Aug 7, 2025
opt-dist: set `build_llvm` to false for WindowsCi

try-job: dist-x86_64-msvc
@rust-bors
Copy link

rust-bors bot commented Aug 7, 2025

☀️ Try build successful (CI)
Build commit: daed8a9 (daed8a9de3006ead5bed8e19c3e50bae8c4e5256, parent: cd434309efcf5dc68b253e5ef6ba40c1c43711c9)

@ognevny
Copy link
Contributor Author

ognevny commented Aug 8, 2025

$ hyperfine "cargo +cd434309efcf5dc68b253e5ef6ba40c1c43711c9 build --release" "cargo +daed8a9de3006ead5bed8e19c3e50bae8c4e5256 build --release" --prepare "cargo clean" --runs 5
Benchmark 1: cargo +cd434309efcf5dc68b253e5ef6ba40c1c43711c9 build --release
  Time (mean ± σ):      9.637 s ±  0.076 s    [User: 72.870 s, System: 4.882 s]
  Range (min … max):    9.551 s …  9.740 s    5 runs

Benchmark 2: cargo +daed8a9de3006ead5bed8e19c3e50bae8c4e5256 build --release
  Time (mean ± σ):      9.871 s ±  0.246 s    [User: 74.214 s, System: 5.082 s]
  Range (min … max):    9.703 s … 10.293 s    5 runs

Summary
  cargo +cd434309efcf5dc68b253e5ef6ba40c1c43711c9 build --release ran
    1.02 ± 0.03 times faster than cargo +daed8a9de3006ead5bed8e19c3e50bae8c4e5256 build --release

@ognevny
Copy link
Contributor Author

ognevny commented Aug 21, 2025

so what's status on this and #143898? will we move it forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants